Skip to content

chore: Upgrade brod dependency to v4 #144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hidnasio
Copy link

Trying to compile kaffe throws the following error

** (Mix) Could not compile dependency :snappyer, "/Users/luisferreira/.asdf/installs/elixir/1.17.2-otp-27/.mix/elixir/1-17/rebar3 bare compile --paths /Users/luisferreira/Projects/kaffe/_build/dev/lib/*/ebin" command failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile snappyer --force", update it with "mix deps.update snappyer" or clean it with "mix deps.clean snappyer"

using erlang 27 and elixir 1.17.2

The problem is related a sub dependency of Brod library. This sub dependency was removed in Brod 4.0

@romul
Copy link
Contributor

romul commented May 23, 2025

I don't mind to brod updating.
But issue with snappyer compilation could be fixed by installing clang on your computer.

For example, on MacOS it could be done by running xcode-select –-install

@hidnasio
Copy link
Author

Thanks for the response. Removing the system-dependent dependency would be a big improvement. We build multi-arch Docker images and use the same source on both macOS and Linux containers, so the architecture mismatch prevents us from sharing the same compilation binaries.

It's not a problem with Kaffe library per-se but as the new version of Brod just remove this sub dependency it's a good way of removing the side effect of having snappyer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants